<template>
  <div style="display: none"></div>
</template>
<script>
  // import StylePane from './style.vue';
  import dataMixin from '../mixins/data';

  const NAME = 'vpd-dataSource';
  export default {
    name: NAME,
    mixins: [dataMixin],
    icon: 'vpd-dataSource',
    title: '加载全局数据源',
    // panel: StylePane,
    setting: {
      type: NAME,
    },
    props: {
      val: {
        type: Object
      }
    },
    data() {
      return {
        data: ''
      }
    },
    computed: {},
    methods: {
      updateData(data) {
        this.$emit('dataUpdate', {
          key: this.val.dataKey,
          value: data
        })
      }
    }
  }
</script>
<style scoped>

</style>
